/ Macwelt 4
/ Macwelt DVD 4.cdr / System / System-Utilities / Mac-OS X / iCal Birthday Shifter / Source / AppController.h ![]() | < prev | next > |
MacBinary | 2002-09-19 | 2.0 KB | [□□□□/□□□□] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
1% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, Thu Sep 19 19:11:30 2002, modified Thu Sep 19 19:11:30 2002, 1490 bytes "AppController.h" , at 0x652 286 bytes resource | default (weak) | |
99% | file | data | default | |
100% | TrID | MacBinary 2 | default (weak) | |
100% | dearkID | deark: macbinary | default | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [□□□□] |
macFileCreator | [□□□□] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 41 70 70 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |..AppCon|troller.|
|00000010| 68 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |h.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 05 d2 00 | 00 01 1e b9 b0 0a 22 b9 |........|......".|
|00000060| b0 0a 22 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..".....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ab e2 00 00 |........|........|
|00000080| 2f 2a 20 41 70 70 43 6f | 6e 74 72 6f 6c 6c 65 72 |/* AppCo|ntroller|
|00000090| 20 2a 2f 0a 0a 23 69 6d | 70 6f 72 74 20 3c 43 6f | */..#im|port <Co|
|000000a0| 63 6f 61 2f 43 6f 63 6f | 61 2e 68 3e 0a 23 69 6d |coa/Coco|a.h>.#im|
|000000b0| 70 6f 72 74 20 3c 41 64 | 64 72 65 73 73 42 6f 6f |port <Ad|dressBoo|
|000000c0| 6b 2f 41 64 64 72 65 73 | 73 42 6f 6f 6b 2e 68 3e |k/Addres|sBook.h>|
|000000d0| 0a 0a 2f 2f 20 44 65 66 | 61 75 6c 74 73 20 6b 65 |..// Def|aults ke|
|000000e0| 79 73 0a 23 64 65 66 69 | 6e 65 20 53 53 5f 49 42 |ys.#defi|ne SS_IB|
|000000f0| 53 5f 43 6f 70 79 41 6c | 6c 5f 4b 65 79 20 40 22 |S_CopyAl|l_Key @"|
|00000100| 53 53 5f 49 42 53 5f 43 | 6f 70 79 41 6c 6c 5f 4b |SS_IBS_C|opyAll_K|
|00000110| 65 79 22 0a 23 64 65 66 | 69 6e 65 20 53 53 5f 49 |ey".#def|ine SS_I|
|00000120| 42 53 5f 45 76 65 6e 74 | 54 69 74 6c 65 5f 4b 65 |BS_Event|Title_Ke|
|00000130| 79 20 40 22 53 53 5f 49 | 42 53 5f 45 76 65 6e 74 |y @"SS_I|BS_Event|
|00000140| 54 69 74 6c 65 5f 4b 65 | 79 22 0a 23 64 65 66 69 |Title_Ke|y".#defi|
|00000150| 6e 65 20 53 53 5f 49 42 | 53 5f 43 61 6c 65 6e 64 |ne SS_IB|S_Calend|
|00000160| 61 72 4e 61 6d 65 5f 4b | 65 79 20 40 22 53 53 5f |arName_K|ey @"SS_|
|00000170| 49 42 53 5f 43 61 6c 65 | 6e 64 61 72 4e 61 6d 65 |IBS_Cale|ndarName|
|00000180| 5f 4b 65 79 22 0a 0a 2f | 2f 20 41 64 64 72 65 73 |_Key"../|/ Addres|
|00000190| 73 20 42 6f 6f 6b 20 61 | 64 64 65 64 20 70 72 6f |s Book a|dded pro|
|000001a0| 70 65 72 74 69 65 73 0a | 23 64 65 66 69 6e 65 20 |perties.|#define |
|000001b0| 53 53 5f 49 42 53 5f 42 | 64 61 79 41 64 64 65 64 |SS_IBS_B|dayAdded|
|000001c0| 44 61 74 65 5f 50 72 6f | 70 20 40 22 63 6f 6d 2e |Date_Pro|p @"com.|
|000001d0| 73 63 6f 74 6c 61 6e 64 | 73 6f 66 74 77 61 72 65 |scotland|software|
|000001e0| 2e 69 63 61 6c 62 69 72 | 74 68 64 61 79 73 68 69 |.icalbir|thdayshi|
|000001f0| 66 74 65 72 2e 62 64 61 | 79 5f 61 64 64 65 64 5f |fter.bda|y_added_|
|00000200| 64 61 74 65 22 0a 0a 40 | 69 6e 74 65 72 66 61 63 |date"..@|interfac|
|00000210| 65 20 41 70 70 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |e AppCon|troller |
|00000220| 3a 20 4e 53 4f 62 6a 65 | 63 74 0a 7b 0a 20 20 20 |: NSObje|ct.{. |
|00000230| 20 49 42 4f 75 74 6c 65 | 74 20 4e 53 54 65 78 74 | IBOutle|t NSText|
|00000240| 46 69 65 6c 64 20 2a 62 | 69 72 74 68 64 61 79 73 |Field *b|irthdays|
|00000250| 43 6f 75 6e 74 46 69 65 | 6c 64 3b 0a 20 20 20 20 |CountFie|ld;. |
|00000260| 49 42 4f 75 74 6c 65 74 | 20 4e 53 42 75 74 74 6f |IBOutlet| NSButto|
|00000270| 6e 20 2a 63 6f 70 79 42 | 75 74 74 6f 6e 3b 0a 20 |n *copyB|utton;. |
|00000280| 20 20 20 49 42 4f 75 74 | 6c 65 74 20 4e 53 42 75 | IBOut|let NSBu|
|00000290| 74 74 6f 6e 20 2a 70 72 | 65 66 73 42 75 74 74 6f |tton *pr|efsButto|
|000002a0| 6e 3b 0a 20 20 20 20 49 | 42 4f 75 74 6c 65 74 20 |n;. I|BOutlet |
|000002b0| 4e 53 42 75 74 74 6f 6e | 20 2a 63 6f 70 79 41 6c |NSButton| *copyAl|
|000002c0| 6c 43 68 65 63 6b 3b 0a | 20 20 20 20 49 42 4f 75 |lCheck;.| IBOu|
|000002d0| 74 6c 65 74 20 4e 53 54 | 65 78 74 46 69 65 6c 64 |tlet NST|extField|
|000002e0| 20 2a 65 76 65 6e 74 54 | 69 74 6c 65 46 69 65 6c | *eventT|itleFiel|
|000002f0| 64 3b 0a 20 20 20 20 49 | 42 4f 75 74 6c 65 74 20 |d;. I|BOutlet |
|00000300| 4e 53 50 72 6f 67 72 65 | 73 73 49 6e 64 69 63 61 |NSProgre|ssIndica|
|00000310| 74 6f 72 20 2a 70 72 6f | 67 72 65 73 73 3b 0a 20 |tor *pro|gress;. |
|00000320| 20 20 20 49 42 4f 75 74 | 6c 65 74 20 4e 53 54 61 | IBOut|let NSTa|
|00000330| 62 6c 65 56 69 65 77 20 | 2a 63 61 6c 54 61 62 6c |bleView |*calTabl|
|00000340| 65 3b 0a 20 20 20 20 49 | 42 4f 75 74 6c 65 74 20 |e;. I|BOutlet |
|00000350| 4e 53 57 69 6e 64 6f 77 | 20 2a 70 72 65 66 73 53 |NSWindow| *prefsS|
|00000360| 68 65 65 74 3b 0a 20 20 | 20 20 49 42 4f 75 74 6c |heet;. | IBOutl|
|00000370| 65 74 20 4e 53 42 75 74 | 74 6f 6e 20 2a 70 72 65 |et NSBut|ton *pre|
|00000380| 66 73 4f 4b 42 75 74 74 | 6f 6e 3b 0a 20 20 20 20 |fsOKButt|on;. |
|00000390| 49 42 4f 75 74 6c 65 74 | 20 4e 53 42 75 74 74 6f |IBOutlet| NSButto|
|000003a0| 6e 20 2a 70 72 65 66 73 | 44 65 66 61 75 6c 74 54 |n *prefs|DefaultT|
|000003b0| 69 74 6c 65 42 75 74 74 | 6f 6e 3b 0a 20 20 20 20 |itleButt|on;. |
|000003c0| 0a 20 20 20 20 4e 53 44 | 69 63 74 69 6f 6e 61 72 |. NSD|ictionar|
|000003d0| 79 20 2a 63 61 6c 65 6e | 64 61 72 73 3b 0a 20 20 |y *calen|dars;. |
|000003e0| 20 20 4e 53 41 72 72 61 | 79 20 2a 63 61 6c 4e 61 | NSArra|y *calNa|
|000003f0| 6d 65 73 3b 0a 20 20 20 | 20 4e 53 41 72 72 61 79 |mes;. | NSArray|
|00000400| 20 2a 62 69 72 74 68 64 | 61 79 50 65 6f 70 6c 65 | *birthd|ayPeople|
|00000410| 3b 0a 20 20 20 20 42 4f | 4f 4c 20 63 6f 70 79 69 |;. BO|OL copyi|
|00000420| 6e 67 3b 0a 20 20 20 20 | 42 4f 4f 4c 20 63 6f 70 |ng;. |BOOL cop|
|00000430| 79 41 6c 6c 3b 0a 20 20 | 20 20 4e 53 53 74 72 69 |yAll;. | NSStri|
|00000440| 6e 67 20 2a 65 76 65 6e | 74 54 69 74 6c 65 3b 0a |ng *even|tTitle;.|
|00000450| 20 20 20 20 69 6e 74 20 | 6e 75 6d 55 6e 63 6f 70 | int |numUncop|
|00000460| 69 65 64 42 64 61 79 73 | 3b 0a 7d 0a 0a 2d 20 28 |iedBdays|;.}..- (|
|00000470| 4e 53 41 72 72 61 79 20 | 2a 29 63 61 6c 4e 61 6d |NSArray |*)calNam|
|00000480| 65 73 3b 0a 2d 20 28 4e | 53 44 69 63 74 69 6f 6e |es;.- (N|SDiction|
|00000490| 61 72 79 20 2a 29 63 61 | 6c 65 6e 64 61 72 73 3b |ary *)ca|lendars;|
|000004a0| 0a 0a 2d 20 28 49 42 41 | 63 74 69 6f 6e 29 73 68 |..- (IBA|ction)sh|
|000004b0| 6f 77 53 6f 6d 65 48 65 | 6c 70 3a 28 69 64 29 73 |owSomeHe|lp:(id)s|
|000004c0| 65 6e 64 65 72 3b 0a 2d | 20 28 49 42 41 63 74 69 |ender;.-| (IBActi|
|000004d0| 6f 6e 29 63 6f 70 79 42 | 69 72 74 68 64 61 79 73 |on)copyB|irthdays|
|000004e0| 3a 28 69 64 29 73 65 6e | 64 65 72 3b 0a 2d 20 28 |:(id)sen|der;.- (|
|000004f0| 49 42 41 63 74 69 6f 6e | 29 73 68 6f 77 50 72 65 |IBAction|)showPre|
|00000500| 66 73 3a 28 69 64 29 73 | 65 6e 64 65 72 3b 0a 2d |fs:(id)s|ender;.-|
|00000510| 20 28 49 42 41 63 74 69 | 6f 6e 29 6f 6b 53 68 65 | (IBActi|on)okShe|
|00000520| 65 74 3a 28 69 64 29 73 | 65 6e 64 65 72 3b 0a 2d |et:(id)s|ender;.-|
|00000530| 20 28 49 42 41 63 74 69 | 6f 6e 29 63 61 6e 63 65 | (IBActi|on)cance|
|00000540| 6c 53 68 65 65 74 3a 28 | 69 64 29 73 65 6e 64 65 |lSheet:(|id)sende|
|00000550| 72 3b 0a 2d 20 28 49 42 | 41 63 74 69 6f 6e 29 64 |r;.- (IB|Action)d|
|00000560| 65 66 61 75 6c 74 45 76 | 65 6e 74 54 69 74 6c 65 |efaultEv|entTitle|
|00000570| 3a 28 69 64 29 73 65 6e | 64 65 72 3b 0a 0a 2d 20 |:(id)sen|der;..- |
|00000580| 28 4e 53 44 69 63 74 69 | 6f 6e 61 72 79 20 2a 29 |(NSDicti|onary *)|
|00000590| 67 65 74 43 61 6c 65 6e | 64 61 72 73 3b 0a 2d 20 |getCalen|dars;.- |
|000005a0| 28 4e 53 41 72 72 61 79 | 20 2a 29 67 65 74 42 69 |(NSArray| *)getBi|
|000005b0| 72 74 68 64 61 79 50 65 | 6f 70 6c 65 3b 0a 2d 20 |rthdayPe|ople;.- |
|000005c0| 28 76 6f 69 64 29 73 68 | 65 65 74 44 69 64 45 6e |(void)sh|eetDidEn|
|000005d0| 64 3a 28 4e 53 57 69 6e | 64 6f 77 20 2a 29 73 68 |d:(NSWin|dow *)sh|
|000005e0| 65 65 74 20 72 65 74 75 | 72 6e 43 6f 64 65 3a 28 |eet retu|rnCode:(|
|000005f0| 69 6e 74 29 72 65 74 75 | 72 6e 43 6f 64 65 20 63 |int)retu|rnCode c|
|00000600| 6f 6e 74 65 78 74 49 6e | 66 6f 3a 28 76 6f 69 64 |ontextIn|fo:(void|
|00000610| 20 2a 29 63 6f 6e 74 65 | 78 74 49 6e 66 6f 3b 0a | *)conte|xtInfo;.|
|00000620| 2d 20 28 76 6f 69 64 29 | 73 65 74 45 76 65 6e 74 |- (void)|setEvent|
|00000630| 54 69 74 6c 65 3a 28 4e | 53 53 74 72 69 6e 67 20 |Title:(N|SString |
|00000640| 2a 29 6e 65 77 54 69 74 | 6c 65 3b 0a 0a 40 65 6e |*)newTit|le;..@en|
|00000650| 64 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |d.......|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000690| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000006a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000006b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+